<%@ page language="java"  pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>

<%@ include file="/_taglib.jsp" %>

<%@ include file="/_navbar.jsp" %>
<section class="content">
		<div class="col-md-11">
			<form class="required-validate" role="form" action="sys/org/save" method="post" onsubmit="return ajaxFormSubmit(this,'sys/org/list')">

				<input type="hidden" id="org__id" name="org.id" value="${org.id}">
				<!-- general form elements disabled -->
				<div class="box">
					<div class="box-body">

						<div class="row">
							<div class="col-xs-3">
								<!-- text input -->
								<div class="form-group">
									<label>组织名称</label> 
									<input type="text" class="form-control"
										id="org__orgName"
										name="org.orgName" 
										value="${org.orgName}"
										placeholder="Enter ...">
								</div>
							</div>
							<div class="col-xs-3">
								<!-- text input -->
								<div class="form-group">
									<label>上级组织ID</label> 
									<input type="text" class="form-control"
										id="org__pid"
										name="org.pid"
										value="${org.pid}"
										placeholder="Enter ...">
								</div>
							</div>
							<div class="col-xs-3">
								<!-- text input -->
								<div class="form-group">
									<label>显示顺序</label> 
									<input type="text" class="form-control"
										id="org__showOrder"
										name="org.showOrder"
										value="${org.showOrder}"
										placeholder="Enter ...">
								</div>
							</div>
							<div class="col-xs-3">
								<div class="form-group">
									<label>数据状态</label> 
									<j:select dictType="dataStatus" id="org.status" name="org.status" label="数据状态"/>
								</div>
							</div>	
							<!-- 
                            <div class="col-xs-3">
                            	<input type="hidden" id="org__creator" name="org.creator" class="query-field" op="eq" value="${org.creator}">
								<div class="form-group">
									<label>创建人</label>                             	
	                            	<div class="input-group">
		                             	<input type="text" id="f_org__creator" name="f_org_creator" class="query-field form-control suggest" 
		                             		searchClass="org.jfk.sys.user.User" searchField="loginName" 
		                             		bringbackField="id" placeholder="创建人" op="eq" value="${org.creator_loginName}">
		                             	<span class="input-group-addon" lookupUrl="sys/org/list" id="l_org__creator"><i class="fa fa-ellipsis-v"></i></span>
									</div>
								</div>
                            </div>	
                             -->												
						</div>
						<div class="row">
							<div class="col-xs-12">
								<!-- text input -->
								<div class="form-group">
									<label>备注</label> 
									<textarea class="form-control" rows="3" 
										id="org__description"
										name="org.description"
										placeholder="Enter ...">${org.description}</textarea>
								</div>
							</div>
						</div>
				
						


					</div>					<!-- /.box-body -->
					<div class="box-footer" align="center">
						<button type="submit" class="btn btn-primary"
							style="postion: absolute; left: 45%;">保存</button>
					</div>
				</div>				<!-- /.box -->
			</form>
		</div>
</section>


<%  
//    String path = request.getContextPath();  
//    String basePath = request.getScheme() + "://"  
//            + request.getServerName() + ":" + request.getServerPort()  
//            + path + "/";  
%> 

<%@ include file="/_edit_js.jsp" %>

<SCRIPT type="text/javascript">
	$(function (){
		kedit("org__description");
	});
	

</SCRIPT>
